package com.zzt.ioc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * Created with IntelliJ IDEA.
 * Description
 * User: panda
 * Date: 2025-02-21
 * Time: 18:04
 */
@ResponseBody
@Controller
//@Service
public class UserController {

    @RequestMapping("/hello")
    public String hello(){
        return "测试Controller和Service区别";
    }
}
